package cn.edu.hubu.hubusmartzoohouse.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 实体类
 * 1.实体类中属性的个数和类型要与对应的数据表保持一致
 * 2.提供所有属性的get和set，添加@Data注解
 * 3.添加无参构造器，添加@NoArgsConstructor
 * 4.添加全参构造器，添加@AllArgsConstructor
 * 5.重写ToString()方法
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Stadium {
//    stadium_id	int
//    stadium_name	varchar
//    stadium_length	decimal
//    stadium_width	decimal
//    stadium_height	decimal
//    stadium_remark	varchar
//    user_id	int


    private int stadiumId;
    private String stadiumName;
    private Double stadiumLength;
    private Double stadiumWidth;
    private Double stadiumHeight;
    private String stadiumRemark;
    private int isDelete=0;
    private int userId;
}
